#include "process.h"
#define sleeptime 100000

void download()
{
    double target = 100;
    for(double i= 0;i<target;i+=1)
    {
        usleep(sleeptime*5);
        if(i == 10)
        {
           while(i<11)
           {
        usleep(sleeptime*5);
               process_ver1(i);
               i+= 0.1;
           }
        }
        process_ver1(i);
    }
    process_ver1(MAX_RATE);
    printf("\n");
    return ;
}

int main()
{
    download();
    return 0;
}
